import type { UserData } from '@/types/user'
import { http } from '@/utils/http'

/** 获取用户信息 */
export const getUserDataApi = () => {
  return http.get<UserData>('/patient/myUser')
}
